package com.ruoyi.web.controller.agoniapp;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.IAgoniRankingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/agoniapp/ranking")
public class RankingController {

    @Autowired
    private IAgoniRankingService agoniRankingService;


    @GetMapping("/getStoreRank")
    public AjaxResult getStoreRank() {
        return AjaxResult.success(agoniRankingService.getStoreRank());
    }



}
